import java.util.Arrays;
import java.util.Random;

public class Work01 {
    public static void main(String[] args) {
        int[] num = new int[10];
        int i;
        for (i=0;i<10;i++){
            Random r = new Random();
            num[i] = 1 + r.nextInt(10);
            System.out.println(num[i]);

        }
    }
}
